﻿<%@ Page Language="C#" MasterPageFile="~/Administrator/Admin.master" AutoEventWireup="true" Inherits="Administrator_AdminIndex" Title="Untitled Page" Codebehind="AdminIndex.aspx.cs" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ Register Src="Controls/PaggingControl.ascx" TagName="PaggingControl" TagPrefix="EHT" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <h1>
        <asp:Label ID="lbAdminCustomer" runat="server" Text="Giao diện chuẩn"></asp:Label>
    </h1>
    <table cellspacing="0" cellpadding="0" class="data-table">
        <thead>
            <tr>
                <th class="actions edit">
                    Sửa
                </th>
                <th class="actions delete">
                    Delete
                </th>
                <th>
                    User Name
                </th>
                <th>
                    Email
                </th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td class="actions edit">
                    <a href='#'>
                        <img alt="Delete" src="Templates/Images/Edit.png" /></a>
                </td>
                <td class="actions delete">
                    <a href='#'>
                        <img alt="Delete" src="Templates/Images/Delete.png" /></a>
                </td>
                <th>
                    Vũ Trọng toàn
                </th>
                <td>
                    toanvt2611@gmail.com
                </td>
            </tr>
            <tr>
                <td class="actions edit">
                    <a href='#'>
                        <img alt="Delete" src="Templates/Images/Edit.png" /></a>
                </td>
                <td class="actions delete">
                    <a href='#'>
                        <img alt="Delete" src="Templates/Images/Delete.png" /></a>
                </td>
                <th>
                    Vũ Trọng toàn
                </th>
                <td>
                    toanvt2611@gmail.com
                </td>
            </tr>
            <tr>
                <td class="actions edit">
                    <a href='#'>
                        <img alt="Delete" src="Templates/Images/Edit.png" /></a>
                </td>
                <td class="actions delete">
                    <a href='#'>
                        <img alt="Delete" src="Templates/Images/Delete.png" /></a>
                </td>
                <th>
                    Vũ Trọng toàn
                </th>
                <td>
                    toanvt2611@gmail.com
                </td>
            </tr>
            <tr>
                <td class="actions edit">
                    <a href='#'>
                        <img alt="Delete" src="Templates/Images/Edit.png" /></a>
                </td>
                <td class="actions delete">
                    <a href='#'>
                        <img alt="Delete" src="Templates/Images/Delete.png" /></a>
                </td>
                <th>
                    Vũ Trọng toàn
                </th>
                <td>
                    toanvt2611@gmail.com
                </td>
            </tr>
            <tr>
                <td class="actions edit">
                    <a href='#'>
                        <img alt="Delete" src="Templates/Images/Edit.png" /></a>
                </td>
                <td class="actions delete">
                    <a href='#'>
                        <img alt="Delete" src="Templates/Images/Delete.png" /></a>
                </td>
                <th>
                    Vũ Trọng toàn
                </th>
                <td>
                    toanvt2611@gmail.com
                </td>
            </tr>
        </tbody>
    </table>
    <p>
        <EHT:PaggingControl ID="PaggingControl1" runat="server" PageURL="AdminOrders.aspx"
            PageSize="10" />
    </p>
    <FCKeditorV2:FCKeditor ID="fckDescription" runat="server" BasePath="../fck/fckeditor/"
        Width="99%" Height="800px">
    </FCKeditorV2:FCKeditor>
    <p class="submitButton">
        <asp:Button ID="btnSave" runat="server" Text="Save" />
    </p>
    <%--Insert update--%>
    <h1>
        <asp:Label ID="lbAdminProduct" runat="server" Text="Form Editer"></asp:Label>
    </h1>
    <div class="accountInfo">
        <table cellspacing="0" cellpadding="0" class="data-table">
            <tbody>
                <tr>
                    <td colspan="2">
                        <span class="failureNotification">
                            <asp:Literal ID="ltrMessage" runat="server"></asp:Literal>
                        </span>
                        <asp:ValidationSummary ID="ProductValidationSummary" runat="server" CssClass="failureNotification"
                            ValidationGroup="ProductGroup" />
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="lbCategoryName" runat="server">Category Name:</asp:Label>
                    </td>
                    <th>
                        <asp:DropDownList runat="server" ID="ddlCategory" CssClass="textEntry" />
                        <asp:RequiredFieldValidator ID="rCategory" runat="server" ErrorMessage="Please select Category name."
                            ControlToValidate="ddlCategory" InitialValue="-1" Text="*" CssClass="failureNotification"
                            ToolTip="Please select Category name." ValidationGroup="ProductGroup" />
                    </th>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="lbProductName" runat="server">Product Name:</asp:Label>
                    </td>
                    <th>
                        <asp:TextBox ID="txtProductName" runat="server" CssClass="textEntry"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="rProduct" runat="server" ControlToValidate="txtProductName"
                            ValidationGroup="ProductGroup" CssClass="failureNotification" ErrorMessage="Product name is required."
                            ToolTip="Name is required." Text="*" />
                    </th>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="lbQuantityPerUnit" runat="server">Quantity Per Unit:</asp:Label>
                    </td>
                    <th>
                        <asp:TextBox ID="txtQuantityPerUnit" runat="server" CssClass="textEntry">0.0</asp:TextBox>
                        <asp:RequiredFieldValidator ID="rQuantityPerUnit" runat="server" ControlToValidate="txtQuantityPerUnit"
                            ValidationGroup="ProductGroup" CssClass="failureNotification" ErrorMessage="Quantity Per Unit is numberic."
                            ToolTip="Quantity Per Unit is numberic." Text="*" />
                    </th>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="lbPrice" runat="server">Price:</asp:Label>
                    </td>
                    <th>
                        <asp:TextBox ID="txtPrice" runat="server" CssClass="textEntry">0.0</asp:TextBox>
                        <asp:RequiredFieldValidator ID="rPrice" runat="server" ControlToValidate="txtPrice"
                            ValidationGroup="ProductGroup" CssClass="failureNotification" ErrorMessage="Price is numberic."
                            ToolTip="Price is numberic." Text="*" />
                    </th>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="lbPictureUrl" runat="server">Picture url:</asp:Label>
                    </td>
                    <th>
                        <asp:FileUpload ID="fuPictureUrl" runat="server" CssClass="textEntry" />
                    </th>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="lbUnitsInStock" runat="server">Units in stock:</asp:Label>
                    </td>
                    <th>
                        <asp:TextBox ID="txtUnitsInStock" runat="server" CssClass="textEntry">0.0</asp:TextBox>
                        <asp:RequiredFieldValidator ID="rUnitInStock" runat="server" ControlToValidate="txtUnitsInStock"
                            ValidationGroup="ProductGroup" CssClass="failureNotification" ErrorMessage="Units in stock is numberic."
                            ToolTip="Units in stock is numberic." Text="*" />
                    </th>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="lbDiscount" runat="server">Discount:</asp:Label>
                    </td>
                    <th>
                        <asp:TextBox ID="txtDiscount" runat="server" CssClass="textEntry">0.0</asp:TextBox>
                        <asp:RequiredFieldValidator ID="rDiscount" runat="server" ControlToValidate="txtDiscount"
                            ValidationGroup="ProductGroup" CssClass="failureNotification" ErrorMessage="Discount is numberic."
                            ToolTip="Discount is numberic." Text="*" />
                    </th>
                </tr>
                <tr>
                    <td align="right">
                    </td>
                    <th>
                        <asp:CheckBox ID="cbDeletedFlag" runat="server" Text="Deleted" />
                    </th>
                </tr>
                <tr>
                    <td align="right">
                    </td>
                    <th>
                        <asp:Button ID="Button1" runat="server" Text="Save" ValidationGroup="ProductGroup" />
                        <asp:Button ID="btnBack" runat="server" Text="Back" />
                    </th>
                </tr>
            </tbody>
        </table>
    </div>
</asp:Content>
